<!DOCTYPE html>
<html>
<head>



    <template file="Home/meta" />
    <template file="Home/css" />



</head>
<body style="background:#fafafc">

<header data-am-widget="header"
        class="am-header am-bg-fff am-header-fix  common-border-bottom" >
    <div class="am-header-left am-header-nav">
        <a href="#left-link" class="">
            <i class="am-icon-angle-left am-text-xxl"></i>
        </a>
    </div>

    <h1 class="am-header-title">
      管理收货地址
    </h1>


</header>
<volist name="_list" id="v">





<div class="am-g  well    am-margin-top-sm  common-border-bottom common-border-top" >




    <div class="am-block am-cf am-margin-top-sm am-padding-horizontal-sm">

        <span>收货人:{$v.name}</span>

        <span class="am-fr">{$v.tel}</span>
    </div>

    <div class="  am-margin-top-sm am-padding-horizontal-sm">
        收货地址: {$v.xiaoqu} {$v.address}
    </div>

    <!--<div class=" common-border-bottom am-padding-sm">-->
        <!--提货站: {$v.shop_id|get_shop_name}-->
    <!--</div>-->



    <div class="am-block am-cf am-padding-sm">

        <if condition="$v['default']">
            <span class="am-text-danger">默认地址</span>

            <else />
            <a class="ajax-get"  href="{:U('changedefault',array('id'=>$v['id']))}">设为默认地址</a>

        </if>


        <span class="am-fr"><a href="{:U('edit',array('id'=>$v['id']))}">编辑</a>  <a class="ajax-get" href="{:U('delete',array('id'=>$v['id']))}">删除</a></span>
    </div>


</div>
</volist>


<div data-am-widget="navbar" class="am-navbar am-cf am-navbar-index  common-border-top "
     style="height: 90px">

    <a href="{:U('add')}" class="am-btn    am-btn-warning am-btn-block">添加收货地址</a>

    <template file="Home/bottom_nav" />
</div>
<template file="Home/js" />
</body>
</html>